package com.sunducation.wts.databinding

class StringUtils2 {
    companion object{
        //静态方法2
        @JvmStatic
        fun capitalize(string: String): String{
            if(string.length > 1) {
                return string.get(0).toUpperCase() + string.substring(1)
            }
            return string;
        }
    }
}